//
//  ViewModelClass.h
//  MyAFNetWorking
//
//  Created by jianglinfeng on 16/1/27.
//  Copyright © 2016年 jianglinfeng. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "NetRequestClass.h"

@interface ViewModelClass : NSObject

@property (nonatomic, strong) ReturnValueBlock returnBlock;
@property (nonatomic, strong) ErrorCodeBlock errorBlock;

- (void)netWorkStateWithConnectBlock:(NetWorkBlock)netConnectBlock WithURLString:(NSString *)strURL;
- (void)setBlockWithReturnBlock:(ReturnValueBlock)returnBlock WithErrorBlock:(ErrorCodeBlock)errorBlock;

@end
